projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976f255
)
Fix a flaky test while the compiler is changing
author
Alex Crichton
<alex@alexcrichton.com>
Wed, 27 Aug 2014 00:21:45 +0000
(17:21 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Wed, 27 Aug 2014 00:21:45 +0000
(17:21 -0700)
tests/test_cargo_compile.rs
patch
|
blob
|
history
diff --git
a/tests/test_cargo_compile.rs
b/tests/test_cargo_compile.rs
index e3f7f79ee2d679b79b2ca200193b8286fea61636..0eb6b69752107afffc6e48b95ea2ea084da93b3c 100644
(file)
--- a/
tests/test_cargo_compile.rs
+++ b/
tests/test_cargo_compile.rs
@@
-100,7
+100,7
@@
test!(cargo_compile_with_invalid_code {
execs()
.with_status(101)
.with_stderr(format!("\
-{filename}:1:1: 1:8 error: expected item
,
found `invalid`
+{filename}:1:1: 1:8 error: expected item
[..]
found `invalid`
{filename}:1 invalid rust code!
^~~~~~~
Could not compile `foo`.